<?php

	$tmp_file = $_FILES['image']['tmp_name'];
	$filename = $_FILES['image']['name'];

	if(move_uploaded_file($tmp_file, '/home/wty/sylar_learn/upload_pic/uploads/'. $filename)){
		echo "Stored in: uploads/". $filename;
	}else{
		echo 'Stored failed:file save error'; 
	}

 ?>